<?php

// +----------------------------------------------------------------------
// | H1CMS © OpenSource CMS
// +----------------------------------------------------------------------
// | Copyright (c) 2014-2016 http://www.h1cms.com All rights reserved.
// | Copyright (c) 2014-2016 嘉兴领格信息技术有限公司，并保留所有权利。
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Allen <allen@lg4.cn>
// +----------------------------------------------------------------------
use Lg\View\Asset;

return [
    // +----------------------------------------------------------------------
    // | 公用库
    // +----------------------------------------------------------------------
    'jquery' => [
        'js' => ['//cdn.bootcss.com/jquery/2.2.4/jquery.min.js' => Asset::BODY_END],
        '1.12.4' => [
            'js' => ['//cdn.bootcss.com/jquery/1.12.4/jquery.min.js' => Asset::BODY_END]
        ],
        'local' => [
            'js' => ['//cdn.bootcss.com/jquery/1.12.4/jquery.min.js' => Asset::BODY_END]
        ]
    ],
    'jquery-ui' => [
        'js' => ['//cdn.bootcss.com/jqueryui/1.11.4/jquery-ui.min.js' => Asset::BODY_END]
    ],
    'bootstrap' => [
        'js' => ['//cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js' => Asset::BODY_END],
        'css' => ['//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css' => Asset::HEAD]
    ],
    'font-awesome' => [
        'css' => ['//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css' => Asset::HEAD]
    ],
    'ionicons' => [
        'css' => ['//cdn.bootcss.com/ionicons/2.0.1/css/ionicons.min.css' => Asset::HEAD]
    ],
    'wysihtml5' => [
        'css' => [root_url('/assets/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css')],
        'js' => [root_url('/assets/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js') => Asset::BODY_END]
    ],
    'input-mask' => [
        'css' => [root_url('/assets/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css')],
        'js' => [root_url('/assets/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js') => Asset::BODY_END]
    ],
    'datepicker' => [
        'css' => [root_url('/assets/datepicker/datepicker3.css')],
        'js' => [root_url('/assets/datepicker/bootstrap-datepicker.js') => Asset::BODY_END]
    ],
    'daterangepicker' => [
        'css' => [root_url('/assets/daterangepicker/daterangepicker.css')],
        'js' => [root_url('/assets/daterangepicker/daterangepicker.js') => Asset::BODY_END]
    ],
    // +----------------------------------------------------------------------
    // | 后端CSS JS
    // +----------------------------------------------------------------------
    'admin-ui' => [
        'css' => [
//            root_url('/assets/admin-ui/css/AdminLTE.min.css'),
            root_url('/assets/admin-ui/css/AdminLTE.css'),
            root_url('/assets/admin-ui/css/skins/_all-skins.css'),
            root_url('/assets/sweetalert/sweetalert.css'),
            '//cdn.bootcss.com/bootstrap-notify/0.2.0/css/bootstrap-notify.min.css',
            '//cdn.bootcss.com/bootstrap-notify/0.2.0/css/styles/alert-bangtidy.min.css'
        ],
        'js' => [
            '//cdn.bootcss.com/raphael/2.2.6/raphael.min.js' => Asset::BODY_END,
            '//cdn.bootcss.com/moment.js/2.15.2/moment.min.js' => Asset::BODY_END,
            '//cdn.bootcss.com/bootstrap-notify/0.2.0/js/bootstrap-notify.min.js' => Asset::BODY_END,
            root_url('/assets/slimScroll/jquery.slimscroll.min.js') => Asset::BODY_END,
            root_url('/assets/admin-ui/js/app.js') => Asset::BODY_END,
            root_url('/assets/sweetalert/sweetalert.min.js') => Asset::BODY_END,
        ]
    ],
];
